//
//  SetupViewController.h
//  Seizure
//
//
// Controller for setting up a new account

#import <UIKit/UIKit.h>
#import "NetworkData.h"
@class SetupViewController;
@class NotificationSender;
@class DataManager;
@class PatientTabViewController;
@class CaretakerTabViewController;

@interface SetupViewController : UIViewController <NetworkData>{
    UITextField *name;
    UITextField *email;
    UITextField *password;
    UITextField *passwordConfirmation;
    UISegmentedControl *userTypeSelect;
}

@property (nonatomic, retain) IBOutlet UITextField *name;
@property (nonatomic, retain) IBOutlet UITextField *email;
@property (nonatomic, retain) IBOutlet UITextField *password;
@property (nonatomic, retain) IBOutlet UITextField *passwordConfirmation;
@property (nonatomic, retain) IBOutlet UISegmentedControl *userTypeSelect;

- (BOOL) textFieldShouldReturn: (UITextField *) textField;
- (void) nextPressed: (id) sender;
- (IBAction) backgroundTouched: (id) sender;
- (IBAction) submitClicked;

@end
